package com.caigou.modules.jingpin.network.api

import com.caigou.comm.base.bean.HttpResult
import com.caigou.modules.jingpin.bean.JingpinBean
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @author #Suyghur.
 * Created on 2021/09/26
 */
interface HttpJingpinApiService {

    @GET("/api/menu/jingtie/list")
    fun getJingpinList(@Query("page") page: Int, @Query("limit") limit: Int): Flow<HttpResult<JingpinBean>>
}